package com.cmc.cloud.cmclink.doc.vo.vgm;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * VMG信息创建 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - VMG信息创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VgmCreateReqVO extends VgmBaseVO {
    @Schema(description = "港口")
    @NotBlank(message = "{vgmCreateReqVO.currentPort.notBlank}")
    private String currentPort;

    @Schema(description = "船名")
    @NotBlank(message = "{vgmCreateReqVO.vesselCode.notBlank}")
    private String vesselCode;

    @Schema(description = "航次")
    @NotBlank(message = "{vgmCreateReqVO.voyage.notBlank}")
    private String voyage;

    private String creator;

    private String updater;

    private String bookingNo;
}
